package com.bestcem.xm.user.mq.message.group;

import com.alibaba.fastjson.annotation.JSONField;
import com.bestcem.xm.user.mq.info.group.StoreInfo;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

import java.io.Serializable;

/**
 * 创建门店发送的消息内容
 *
 * @author qiongyu.cui <qiongyu.cui@idiaoyan.com>
 * @version v1.0
 * @date 2022/2/11 14:52
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class CreateStoreMessage implements Serializable {

    private static final long serialVersionUID = 6861904217348516013L;

    /**
     * 租户id
     */
    @JsonProperty("org_id")
    @JSONField(name = "org_id")
    private String orgId;
    /**
     * 根组织id
     */
    @JsonProperty("root_group_id")
    @JSONField(name = "root_group_id")
    private String rootGroupId;
    /**
     * 组织id
     */
    @JsonProperty("grp_id")
    @JSONField(name = "grp_id")
    private String groupId;
    /**
     * 门店信息
     */
    @JsonProperty("node")
    @JSONField(name = "node")
    private StoreInfo storeInfo;

}
